
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskEmployee;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskEmployee entities.
 * 
 */
public interface TaskEmployeeDAO extends JpaDao<TaskEmployee> {

	/**
	 * JPQL Query - findTaskEmployeeByPrimaryKey
	 *
	 */
	public TaskEmployee findTaskEmployeeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskEmployeeByPrimaryKey
	 *
	 */
	public TaskEmployee findTaskEmployeeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskEmployees
	 *
	 */
	public Set<TaskEmployee> findAllTaskEmployees() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskEmployees
	 *
	 */
	public Set<TaskEmployee> findAllTaskEmployees(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskEmployeeById
	 *
	 */
	public TaskEmployee findTaskEmployeeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskEmployeeById
	 *
	 */
	public TaskEmployee findTaskEmployeeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}